﻿using System;
using OnlineGameLibrary.Game;
using KakaSongGame;

namespace KaKaSongGame.OnlineGame
{
    [ExportGameLoaderAttribute(IdentityName = GlobalConst.GameIdentityName)]
    public class KKSGameLoader : IGameLoader
    {
        public GameBase CreateGame(OnlineGameLibrary.Contract.GameRoom gameroom, OnlineGameLibrary.Contract.Player curplayer, IPlayerDuplexChannel channel)
        {
            return new KakaSongGame1(gameroom, curplayer, channel);
        }


        public System.Windows.UIElement CreateWelcomeScreen()
        {
            return new WelcomeScreen();
        }
    }
}
